import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import './plugins'
import './directive'
import 'amfe-flexible'
import 'highlight.js/styles/default.css' // 代码高亮的样式

// 刚才少些了这么一行代码，需要把 permission.js 文件 导入 main.js，让其生效
import './permission'

import Component from '@/plugins/component'

Vue.use(Component)
Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
